package cn.wu.jishupeizhi.redisTest;

import cn.wu.jishupeizhi.pojo.WhopList;
import cn.wu.jishupeizhi.service.impl.WhopListServiceImpl;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class InterfaceRedis {

    @Autowired
    private WhopListServiceImpl whopListService;

    @Test
    public void getWhopList() {
        List<WhopList> whopList = whopListService.getWhopAll();
        System.out.println("whopList = " + whopList);
    }
}
